package com.weibo4j.api.req.favourite;

import com.weibo4j.api.WeiboRequest;
import com.weibo4j.api.response.favourite.FavouriteGetResponse;
import com.weibo4j.api.util.RequestType;

public class FavouriteDeleteRequest extends WeiboRequest<FavouriteGetResponse>{

    private Long id;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public RequestType requestType() {
        return RequestType.POST;
    }

    @Override
    public String baseUrl() {
        return "https://api.weibo.com/2/favorites/destroy.json";
    }

    @Override
    protected Class<FavouriteGetResponse> responseType() {
        return FavouriteGetResponse.class;
    }

}
